using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using buildingLib.fee;
using Csla;

namespace _dmis.fee
{
    public partial class DoorFeeLogDlg : _dmis.UIToolBase
    {
        Guid m_doorid;
        public DoorFeeLogDlg(Guid doorid)
        {
            m_doorid = doorid;
            InitializeComponent();
        }

        private void DoorFeeLogDlg_Load(object sender, EventArgs e)
        {
            Csla.SortedBindingList<InvoiceInfo> sorted = new Csla.SortedBindingList<InvoiceInfo>( InvoiceInfoList.GetDoorInvoiceInfos(m_doorid));
            this.invoiceInfoListBindingSource.DataSource =sorted;
        }
    }
}

